﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Demo01</title>
</head>
<body>
    <h2>使用Linq筛选数组中50-80的数据</h2>
    <p>
        @foreach (var item in ViewBag.linqRes)
        {
            <sapn>@item&nbsp;</sapn>
        }
    </p>
    <h2>使用Lambda筛选数组中50-80的数据</h2>
    <p>
        @foreach (var item in ViewBag.lambdaRes)
        {
            <sapn>@item&nbsp;</sapn>
        }
    </p>
</body>
</html>
